<?php
namespace App\Http\Controllers;
//引入空间类元素
use App\Http\Controllers\Controller;

class TestController extends Controller{
	public function lst(){
		return "这是Test控制器lst方法2";
	}
	
	function ajax2(){
		return response()->json(['name' => "小明2", 'age' => 20]);
	}
	
}



?>